﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<meta http-equiv="Content-Style-Type" content="text/css" />
		<meta http-equiv="Content-Script-Type" content="text/javascript" />
		<title>sample17</title>
		<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
		<script type="text/javascript">
$(function(){
	$(":reset").one("click",function(){
		$(this).after("<p>입력 내용을 초기화 합니다.</p>");
	});
});

		</script>
	</head>
	<body>
<form action="">
	<dl>
		<dt>이름<em>(필수)</em></dt>
		<dd><input type="text" name="name" /></dd>
		<dt>코멘트</dt>
		<dd>
			<textarea name="comment"></textarea>
		</dd>
		<dd><input type="reset" src="button.jpg" alt="재설정" value="재설정" /></dd>
	</dl>
</form>
	</body>
</html>